package com.bruce.pattern.behavioral.visitor.demo1;

/**
 * Created by bruce on 2018/11/11 19:37
 */
public class Monitor implements ComputerPart {

    @Override
    public void accept(ComputerPartVisitor computerPartVisitor) {
        computerPartVisitor.visit(this);
    }

    @Override
    public String getName() {
        return "显示器";
    }
}
